<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'adminForm',
    'type' => 'horizontal',
    'enableAjaxValidation' => false,
    'enableClientValidation' => true,
    'clientOptions' => array(
        'validateOnSubmit' => true,
    ),
    'method' => 'post',
    'htmlOptions' => array('class' => 'table-bordered form-horizontal well'),
        ));
?>
<fieldset>
    <?php echo $form->textFieldRow($model, 'name', array('class' => 'span5', 'maxlength' => 255)); ?>
    
    <div class="control-group">
        <label class="control-label">Đường dẩn audio</label>
        <div class="controls">
            <?php
            $this->widget('ext.elFinder.ServerFileInput', array(
                'model' => $model,
                'attribute' => 'url',
                'connectorRoute' => 'sysadmin/elfinder/connector',
                    )
            );
            ?>
        </div>
    </div>
    <?php echo $form->textAreaRow($model, 'sentence', array('rows' => 6, 'cols' => 50, 'class' => 'span8')); ?>
     <?php echo $form->dropDownListRow($model, 'state', array(1 => 'Publish', 0 => 'UnPublish')); ?>
<?php echo $form->textFieldRow($model, 'order', array('class' => 'span1')); ?>
    



    

</fieldset>
<?php $this->endWidget(); ?>
